package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 下拉框键值对象 sys_combobox
 *
 * @author Lion Li
 * @date 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_combobox")
public class SysCombobox extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 缓存名
     */
    private String cacheKey;

    /**
     * 下拉框value字段名
     */
    private String keyField;

    /**
     * 下拉框Label字段名
     */
    private String valueField;

    /**
     * 下拉框value
     */
    private String comboboxValue;

    /**
     * 下拉框label
     */
    private String comboboxLabel;


}
